#ifndef SEARCHDOCK_H
#define SEARCHDOCK_H

#include <QDockWidget>
#include <QTableWidget>
#include <QHeaderView>
#include <QLabel>

class SearchDock : public QDockWidget
{
    Q_OBJECT

    public:
        explicit SearchDock(const QString&, QWidget *parent = 0);
        ~SearchDock();
        void refresh(QMap<int, QString> &, QString &_input);

    private:
        QTableWidget *container;

    signals:
        void resultDoubleClicked(int);

    private slots:
        void sendTableSignal(QTableWidgetItem*);
};

#endif // SEARCHDOCK_H
